package com.xiaoshuidi.cloud.module.finance.enums.voucher;

import lombok.Getter;

/**
	* @author dujianguang
	*/
@Getter
public enum FinanceVoucherNoTaxFeeTypeEnum {
		TOTAL_FEE_TYPE_0("6001.07.01","租金不含税","主营业务收入-公寓收入_租金"),
		TOTAL_FEE_TYPE_2("6001.07.02","管理费不含税","主营业务收入-公寓收入-管理费"),
		TOTAL_FEE_TYPE_3("6001.07.03","水费不含税","主营业务收入-公寓收入-水费"),
		TOTAL_FEE_TYPE_4("6001.07.04","电费不含税","主营业务收入-公寓收入-电费"),
		TOTAL_FEE_TYPE_5("6001.07.05","其他零星收入不含税","主营业务收入-公寓收入-其他");

		private String code;
		private String feeName;
		private String remark;


		FinanceVoucherNoTaxFeeTypeEnum(String code,String feeName, String remark) {
				this.code = code;
				this.feeName = feeName;
				this.remark = remark;
		}

		public static FinanceVoucherNoTaxFeeTypeEnum find(String feeName) {
				for (FinanceVoucherNoTaxFeeTypeEnum value : values()) {
						if (value.getFeeName().equals(feeName)) {
								return value;
						}
				}
				return null;
		}
}
